From: Timo Röhling Date: Wed, 27 Jul 2022 20:05:48 +0000 (+0200) Subject: Workaround for armel clang compiler bug X-Git-Tag: archive/raspbian/1.9.25+dfsg3-1+rpi1^2~53 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=602cbe52cd7e59ec5b9516f8912297f516bf55b4;p=filament.git Workaround for armel clang compiler bug Thanks: Adrian Bunk --- diff --git a/debian/patches/0017-Workaround-for-armel-clang-compiler-bug.patch b/debian/patches/0017-Workaround-for-armel-clang-compiler-bug.patch new file mode 100644 index 0000000..4601fb7 --- /dev/null +++ b/debian/patches/0017-Workaround-for-armel-clang-compiler-bug.patch @@ -0,0 +1,21 @@ +From: Adrian Bunk +Date: Mon, 18 Jul 2022 02:27:16 +0300 +Subject: Workaround for armel clang compiler bug + +--- + libs/utils/include/utils/compiler.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libs/utils/include/utils/compiler.h b/libs/utils/include/utils/compiler.h +index c0bdebf..ea63dbd 100644 +--- a/libs/utils/include/utils/compiler.h ++++ b/libs/utils/include/utils/compiler.h +@@ -176,7 +176,7 @@ + # define UTILS_HAS_RTTI 0 + #endif + +-#ifdef __ARM_ACLE ++#if defined(__ARM_ACLE) && (__ARM_ARCH >= 7) + # include + # define UTILS_WAIT_FOR_INTERRUPT() __wfi() + # define UTILS_WAIT_FOR_EVENT() __wfe() diff --git a/debian/patches/series b/debian/patches/series index 623bfd4..9508bb6 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -14,3 +14,4 @@ 0014-Avoid-mips-as-identifier-because-it-fails-on-mips-ar.patch 0015-Ensure-proper-alignment-of-resgen-_OFFSET-and-_SIZE-.patch 0016-Fix-FTBFS-with-GCC-12.patch +0017-Workaround-for-armel-clang-compiler-bug.patch